﻿using System;
using System.Linq;
using System.Data.Linq;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations;
using CodeSmith.Data.Attributes;
using CodeSmith.Data.Rules;

namespace ezCloud.Data
{
    public partial class ReservationRooms
    {
        // Place custom code here.

        #region Metadata
        // For more information about how to use the metadata class visit:
        // http://www.plinqo.com/metadata.ashx
        [CodeSmith.Data.Audit.Audit]
        internal class Metadata
        {
             // WARNING: Only attributes inside of this class will be preserved.

            public int ReservationRoomId { get; set; }

            public int? TravellerId { get; set; }

            public int? HotelId { get; set; }

            public System.DateTime? ArrivalDate { get; set; }

            public System.DateTime? DepartureDate { get; set; }

            public int? RoomId { get; set; }

            public string Note { get; set; }

            public int? ReservationId { get; set; }

            public int Adults { get; set; }

            public int Child { get; set; }

            public string BookingStatus { get; set; }

            public decimal Price { get; set; }

            public bool Foc { get; set; }

            public int? RoomPriceId { get; set; }

            public double DiscountPercentage { get; set; }

            public decimal DiscountFlat { get; set; }

            public string CancelReason { get; set; }

            public int? RoomTypeId { get; set; }

            public System.DateTime? CreatedDate { get; set; }

            public string CreatedUserId { get; set; }

            public System.DateTime? CheckInDate { get; set; }

            public string CheckInUserId { get; set; }

            public System.DateTime? CheckOutDate { get; set; }

            public string CheckOutUserId { get; set; }

            public System.DateTime? CancelDate { get; set; }

            public string CancelUserId { get; set; }

            public int? ReservationRoomNumber { get; set; }

            public bool? CMConfirmed { get; set; }

            public string CMErrorDescription { get; set; }

            public bool? IsGroupMaster { get; set; }

            public System.DateTime? CMReceiveBookingDate { get; set; }

            public int? StatusAutoAssignRoom { get; set; }

            public Hotels Hotels { get; set; }

            public Reservations Reservations { get; set; }

            public RoomPrices RoomPrices { get; set; }

            public Rooms Rooms { get; set; }

            public RoomTypes RoomTypes { get; set; }

            public Travellers Travellers { get; set; }

            public EntitySet<ChangeReservationStatus> ChangeReservationStatusList { get; set; }

            public EntitySet<Folios> FoliosList { get; set; }

            public EntitySet<PastCheckOut> PastCheckOutList { get; set; }

            public EntitySet<Payments> PaymentsList { get; set; }

            public EntitySet<ReportItems> ReportItemsList { get; set; }

            public EntitySet<ReservationTravellers> ReservationTravellersList { get; set; }

            public EntitySet<RoomCharges> RoomChargesList { get; set; }

            public EntitySet<RoomExtraServiceItems> RoomExtraServiceItemsList { get; set; }

            public EntitySet<RoomExtraServices> RoomExtraServicesList { get; set; }

            public EntitySet<RoomMove> RoomMoveList { get; set; }

            public EntitySet<RoomRemarks> RoomRemarksList { get; set; }

            public EntitySet<RoomStatus> RoomStatusList { get; set; }

            public EntitySet<SmartCard> SmartCardList { get; set; }

            public EntitySet<RoomBreakfast> RoomBreakfastList { get; set; }

            public EntitySet<NoShowLog> NoShowLogList { get; set; }

            public EntitySet<HotelEmailLog> HotelEmailLogList { get; set; }

        }

        #endregion
    }
}